using MvcMall.AdminPortal.Controllers.MailTemplate.ViewModels;
using MvcMall.Core.Commands;
using MvcMall.Framework.Mapper;

namespace MvcMall.AdminPortal.Controllers.MailTemplate.Mappers
{
    public class SaveModelToCmdMapper
        : BaseMapper<SaveMailTemplateModel, SaveMailTemplateCommand>
        , IMapper<SaveMailTemplateModel, SaveMailTemplateCommand>
    {
        public override SaveMailTemplateCommand MapFrom(SaveMailTemplateModel input)
        {
            var cmd = base.MapFrom(input);
            return cmd;
        }
    }
}